package com.whw.fy.mapper;
import org.apache.ibatis.annotations.Param;

import com.whw.fy.entity.TrainingInstitutionRecords;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TrainingInstitutionRecordsMapper {
    int deleteByPrimaryKey(Integer trainingInstitutionRecordId);

    int insert(TrainingInstitutionRecords record);

    int insertSelective(TrainingInstitutionRecords record);

    TrainingInstitutionRecords selectByPrimaryKey(Integer trainingInstitutionRecordId);

    int updateByPrimaryKeySelective(TrainingInstitutionRecords record);

    int updateByPrimaryKey(TrainingInstitutionRecords record);

    int updateStudentIdByTrainingInstitutionRecordId(@Param("updatedStudentId")Integer updatedStudentId,@Param("trainingInstitutionRecordId")Integer trainingInstitutionRecordId);


}